package com.doit.utils;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * @DATE 2022/3/24/23:10
 * @Author MDK
 * @Version 2021.2.2
 **/
public class JdbcUtil {
    public static Connection getConnection() throws SQLException{
        Connection connection = DriverManager.getConnection("jdbc:mysql://linux01:3306/abc", "root", "root");
        return connection;
    }
}
